/*
 * Copyright (c) 2019, salesforce.com, inc.
 * All rights reserved.
 * SPDX-License-Identifier: BSD-3-Clause
 * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
 */

body {
	font-family: sans-serif;
}

.svg-container {
	height: 100%;
	width: 100%;
	overflow: scroll;
	background-color: whitesmoke;
}

svg {
	z-index: -1;
}

.tick text {
	font-size: 14px;
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	font-family: sans-serif;
}

.tick {
	color: #E5E9F0;
}

.ignore-pointer-events {
	pointer-events: none;
}

.resource-bar-label {
	dominant-baseline: hanging;
    font-size: 14px;
}

.heatmap {
	cursor: pointer;
}

.resource {
	cursor: pointer;
}

.tooltip {
	position: fixed;
	opacity: 0;
	background: whitesmoke;
	color: #3B4252;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,.5);
	line-height: 1;
	z-index: 1;
	font: 12px sans-serif;
	max-height: 50%;
	max-width: 50%;
	overflow-y: scroll;
}

#tiny-tooltip {
	padding: 10px;
}

div#resource_container {
	padding: 0;
}

#sloopleftnav {
	height: 100%;
	width: 320px;
	padding-right: 20px;
	overflow-y: auto;
}

#currentContext {
	width:100%;
}

select {
	width: 100%;
}

.svg-container {
    padding-top: 10px;
	border-left: 2px solid black;
	height: 100%;
	overflow: scroll;
	background-color: #2E3440;
	color: #D8DEE9;
}

svg {
	z-index: -1;
}

.sloopleftnav {
	background-color: #3B4252;
	padding-left: 10px;
	padding-top: 10px;
	font-size: 13px;
	color: #E5E9F0;
}

#sloopleftnav a:link { color: lightgray }
#sloopleftnav a:visited { color: lightgray }
#sloopleftnav a:hover { color: white }
#sloopleftnav a:active { color: lightgray }

.custom_progress {
	display: inline-block;
	vertical-align: top;
	text-align: center;
	height: 100%;
}

a[target="_blank"]:after {
	content: url();
	margin: 0 3px 0 5px;
}

input[type="datetime-local"] {
	width: 200px;
	height: 1.3rem;
	font-size: 0.85em;
}

input[type="button"] {
	width: 35px;
	height: 1.3rem;
	font-size: 0.80em;
}

input[type="text"] {
	width: 245px;
	height: 1.3rem;
}

/* Toggle switch styling */
.switch-container {
	display: inline-block; 
	margin-top: 20px;
}

.switch-container p {
	display:inline-block;
	vertical-align: top; 
}

.switch {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 20px;
	margin-left: auto;
	margin-right: 0;
}
  
.switch input {
	display: none;
}
  
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}
  
.slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 2px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
  
input:checked+.slider {
	background-color: #6bab35;
}
  
input:focus+.slider {
	box-shadow: 0 0 1px #6bab35;
}
  
input:checked+.slider:before {
	-webkit-transform: translateX(14px);
	-ms-transform: translateX(14px);
	transform: translateX(14px);
}
/* Rounded sliders */  
.slider.round {
	border-radius: 34px;
}
  
.slider.round:before {
	border-radius: 50%;
}
